package com.cx.webpay.controller;

import com.cx.webpay.util.ResponseResult;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

@Api(tags = {"啊哈哈哈"})
@RequestMapping(value = "/abc")
@RestController
public class HelloController {

    @ApiOperation(value = "完成订单")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "token", value = "token", required = true, dataTypeClass = String.class),
//            @ApiImplicitParam(name = "workerAccount", value = "工作人员账户", required = true, dataTypeClass = String.class),
//            @ApiImplicitParam(name = "orderId", value = "订单标识", required = true, dataTypeClass = String.class)
//    })
    @RequestMapping(value = "/completeOrder", method = RequestMethod.POST)
    public String completeOrder(@ApiParam(value = "雪球",required = true)@RequestParam(name = "appName",defaultValue = "支付") String appName){
        return appName;
    }

}
